package com.jjw.springbootcvs.mapper;


import com.jjw.springbootcvs.pojo.entity.SysRole;

import java.util.List;

/**
 * @author xiaojuan
 * @Date 2024/11/1
 * @Description
 */

public interface SysRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    List<SysRole> getAllRoleList();

    SysRole getRoleByCode(String roleCode);
}